home *** CD-ROM | disk | FTP | other *** search
/ Long Ban 3 / Long Ban 3 - Disc 1.iso / mac / DISK1 / DATA / mov.Dxr / 00039.ls < prev    next >
Encoding:
Text File  |  1997-03-24  |  433 b   |  25 lines

  1. on wait t
  2.   set wk to the ticks + (t * 60)
  3.   repeat while wk > the ticks
  4.     nothing()
  5.   end repeat
  6. end
  7.  
  8. on buttonaction sp
  9.   set the visible of sprite sp to 0
  10.   puppetSound("Laser.aif", 2)
  11.   updateStage()
  12.   wait(1)
  13.   set the visible of sprite sp to 1
  14.   puppetSound(0, 2)
  15.   updateStage()
  16. end
  17.  
  18. on buttonaction2 sp
  19.   set the visible of sprite sp to 0
  20.   updateStage()
  21.   wait(0.5)
  22.   set the visible of sprite sp to 1
  23.   updateStage()
  24. end
  25.